package cz.idsv.web.mvc.model.service;

import java.util.Collection;

import org.springframework.dao.DataAccessException;

import cz.idsv.web.mvc.model.entity.ProductEntity;



/**
 * Product Service interface.
 * 
 * @author Jan Borzensky
 */
public interface ProductService {

    /**
     * Find Product.
     */
    public Collection<ProductEntity> findProduct() throws DataAccessException;
    
    /**
     * Saves product.
     */
    public void save(ProductEntity productEntity);
    
    
    /**
     * Delete product.
     */
    public void delete(ProductEntity productEntity);
    
    /**
     * Find document by id.
     */
    public ProductEntity findProductById(Integer id) throws DataAccessException;
       

}

